package com.example.service;

import com.example.pojo.*;

import java.util.List;


public interface AdminService {
//    List<Teacher> getTeacher();

    UserPageBean selectAll(Integer page, Integer size, String name, String username, Integer gradeClassId, String object);



//    List<Patriarch> getParent();

    UserPageBean getParent(Integer page, Integer size, String name, String username, Integer gradeClassId, String studentName);

    void updateParent(Patriarch patriarch);

    void updateTeacher(Teacher teacher);

    UserPageBean getStudent(Integer page, Integer size, String name, Integer gender, Integer gradeClassId);

    void updateStudent(Student student);

    void addStudent(Student student);

    void addTeacher(Teacher teacher);

    void addParent(Patriarch patriarch);

    WorkPageBean getAllPlan(Integer page, Integer size, String title, String content, String teacherName);

    void updatePlan(Plan plan);

    void addPlan(Plan plan);

    void delPlan(Plan plan);

    WorkPageBean getAllProgress(Integer page, Integer size, String title, String content, String teacherName);

    void updateProgress(Progress progress);

    void addProgress(Progress progress);

    void delProgress(Progress progress);

    WorkPageBean getAllHomeWork(Integer page, Integer size, String title, String content, String teacherName);

    List<StudentHomeWork> seletDateHomeWork(Integer id);

    void addHomeWork(HomeWork homeWork);

    void delHomeWork(HomeWork homeWork);

    IndexDataAll allData();

    WorkPageBean getAllTask(Integer page, Integer size, String title, String content, String teacherName);

    List<StudentTask> selectDateTask(Integer id);

    void addTask(Task task);

    void delTask(Task task);

    void addAnnoun(Announcemen announcemen);

    List<Announcemen> getAllAnnoun();

    Teacher getName(String username);

    void addTest(Test test);

    List<Test> getTest();
}
